<?php
	$date = DateTime::createFromFormat('Y-m-d', $student->dob)->format('F d, Y');
	$bdate = explode(' ',$student->dob);
	$bdate_at = explode('-',$bdate[0]);
	//var_dump($student)
?>

<div>
	
	<div class="row collapse">
		<div class="small-4 large-4 columns">
			<span class="prefix"><?php echo $applicants->a_f_description; ?></span>
		</div>
		<div class="small-8 large-8 columns">
			<div class="row collapse">
					<div class="small-3 large-2 columns">
						<span class="prefix" style="z-index:1;">&#8369;</span>
					</div>
					<div class="small-9 large-10 columns">
						<input type="text" value="<?php echo number_format($applicants->a_f_price,2,'.',','); ?>" disabled="disabled" />
					</div>
			</div>
		</div>
	</div>

	<div class="row collapse">
		<div class="small-4 large-4 columns">
			<span class="prefix">Fullname</span>
		</div>
		<div class="small-8 large-8 columns">
			<input type="text"  style="text-transform: capitalize;" value="<?php echo ucwords(strtolower($applicants->firstname)); ?><?php echo $applicants->middlename!='' ? ' '.ucwords(strtolower($applicants->middlename)):'';?><?php echo ' '.ucwords(strtolower($applicants->lastname)); ?><?php echo $applicants->name_ext!='' ? ' '.ucwords(strtolower($applicants->name_ext)):'';?>" disabled="disabled" />
		</div>
	</div>

	<div class="row collapse">
		<div class="small-4 large-4 columns">
			<span class="prefix">Birthday</span>
		</div>
		<div class="small-8 large-8 columns">
			<input type="text" value="<?php echo $date; ?>" disabled="disabled">
		</div>
	</div>

	<div class="row collapse">
		<div class="small-4 large-4 columns">
			<span class="prefix">Age</span>
		</div>
		<div class="small-8 large-8 columns">
			<input type="text" value="<?php echo $student->age; ?> years old" disabled="disabled">
		</div>
	</div>

	<div class="row collapse">
		<div class="small-4 large-4 columns">
			<span class="prefix">Grade level</span>
		</div>
		<div class="small-8 large-8 columns">
			<?php echo form_dropdown('level_id', $levels, $applicants->applying_level_id, 'disabled="disabled"');?>
		</div>
	</div>

	<div class="row collapse">
		<div class="small-4 large-4 columns">
			<span class="prefix">Cellphone Number</span>
		</div>
		<div class="small-8 large-8 columns">
			<input type="text" value="<?php echo $student->contact_no; ?>" disabled="disabled">
		</div>
	</div>
	
	<div class="row collapse">
		<div class="small-4 large-4 columns">
			<span class="prefix">Schedule of Testing</span>
		</div>
		<div class="small-8 large-8 columns">
			<input type="text" value="<?php echo $applicants->schedule_for_testing; ?>" disabled="disabled">
		</div>
	</div>
	
</div>